package com.example.springworkfront.Entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Entity
@Table(name = "household")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Household {
    @Id
    private String account;
    private String name;
    private String password;
    private String img;
    private String phone;
    private String idCard;
    private String roomNumber;
    private int accessTimes;
    private String openid;
    private String status;

}
